code: public static void copyStreamUnsafelyUseWithCaution( InputStream in, OutputStream os ) throws IOException {
  
  		byte[] buf = new byte[ 1024 ];
  		int len;
  		while((len = in.read( buf )) > 0) {
  			os.write( buf, 0, len );
  		}
  	}
docs: Copies the content from in into os.
  <p>
  Neither <i>in</i> nor <i>os</i> are closed by this method.<br>
  They must be explicitly closed after this method is called.
  </p>
  <p>
  Be careful, this method should be avoided when possible.
  It was responsible for memory leaks. See #489.
  </p>
  
  @param in an input stream (not null)
  @param os an output stream (not null)
  @throws IOException if an error occurred