Copy entire buffer.