(sorry, just talking to myself here again)

actually, you don't need to copy the inlets into separate arrays.  Just making a temp array for the outlets, writing to that in the main for loop, and then copying that to the outlet buffer in its own for loop is sufficient.