title: How to read one stream into another?
body: <pre><code>FileInputStream in = new FileInputStream(myFile);
  ByteArrayOutputStream out = new ByteArrayOutputStream();
  </code></pre>
  
  <p>Question: How can I read everything from <code>in</code> into <code>out</code> in a way which is not a hand-crafted loop with my own byte buffer?</p>