@lukasgraf as discussed, the buffered reader / writer do not help much here, since we actually need to copy the data. But I've added a docstring.
I'll squash the commits before merging...