Implement copying a buffer to an output stream.
Merge pull request #29 from square/jwilson_0413_copy

Implement copying a buffer to an output stream.