Function copyFromTo

While input is readable, reads data from input and writes it to output. Returns number of bytes read

ulong copyFromTo (
  InputStream input,
  OutputStream output
);