Copying buffer.