code: public static void write2File(final String inputFile, final String outputFile)
  		throws FileNotFoundException, IOException
  	{
  		try (FileInputStream fis = new FileInputStream(inputFile);
  			FileOutputStream fos = new FileOutputStream(outputFile);
  			BufferedInputStream bis = new BufferedInputStream(fis);
  			BufferedOutputStream bos = new BufferedOutputStream(fos);)
  		{
  			StreamExtensions.writeInputStreamToOutputStream(bis, bos);
  		}
  	}
docs: The Method write2File(String, String) copys a file from one filename to another.
  
  @param inputFile
  The Name from the File to read and copy.
  @param outputFile
  The Name from the File to write into.
  @throws FileNotFoundException
  is thrown if an attempt to open the file denoted by a specified pathname has
  failed.
  @throws IOException
  Signals that an I/O exception has occurred.