Add stream-based copy, write, and read helpers.
Merge pull request #30 from square/jw/copy-helpers

Add stream-based copy, write, and read helpers.