code: public static void copyStream( InputStream in, File outputFile ) throws IOException {
  		OutputStream os = new FileOutputStream( outputFile );
  		try {
  			copyStreamUnsafelyUseWithCaution( in, os );
  		} finally {
  			os.close ();
  		}
  	}
docs: Copies the content from in into outputFile.
  <p>
  <i>in</i> is not closed by this method.<br>
  It must be explicitly closed after this method is called.
  </p>
  
  @param in an input stream (not null)
  @param outputFile will be created if it does not exist
  @throws IOException if the file could not be created