Implement buffer-to-buffer copying.

Woah. Interesting use-case I wouldn't have thought of.