Write all of a stream (until eos) into another stream, in a blocking fashion.
| this |
source Stream object |
| output_stream |
destination Stream object |
| cancellable |
optional Cancellable object, or null |
|
-1 on error, or the number of bytes successfully copied across streams. |