Pump: added copy method

The method should be used in the .process() methods to copy data to
output buffers.