Is there really no secret stream copy method in the Java runtime?
<p>I know about IOUtils and I know about FileChannel transferTo.
But I would really like to know if there is a stream copy method somewhere hidden in the normal Java runtime.</p>

<p>Something like public long copy( InputStream is, OutputStream os){...}</p>

<p>I know I can write it myself but I am curious.</p>
