title: copyInputStreamToOutputStream(in, System.out)
body: <p>I have read through the <a href="https://developer.android.com/training/articles/security-ssl#java" rel="nofollow noreferrer">Security with HTTPS and SSL</a> documentation from Android. I see that it keeps using <code>copyInputStreamToOutputStream(in, System.out);</code>. That gives me </p>
  
  <p><code>error: cannot find symbol method copyInputStreamToOutputStream(InputStream,PrintStream)</code></p>
  
  <p>Here's the code in question:</p>
  
  <pre><code>URL url = new URL("https://wikipedia.org");
  URLConnection urlConnection = url.openConnection();
  InputStream in = urlConnection.getInputStream();
  copyInputStreamToOutputStream(in, System.out);
  </code></pre>
  
  <p>What is the meaning of <code>copyInputStreamToOutputStream</code>?</p>