src/main/java/org/jboss/util/file/Files.java
/**
    * Copy a file.
    *
    * @param source  Source file to copy.
    * @param target  Destination target file.
    *
    * @throws IOException  Failed to copy file.
    */
Copy a file.
@param source  Source file to copy.
@param target  Destination target file.

@throws IOException  Failed to copy file.
Copy a file . @param source Source file to copy . @param target Destination target file . @throws IOException Failed to copy file .
public static void copy(final File source, final File target)
         throws IOException
   {
      copy(source, target, DEFAULT_BUFFER_SIZE);
   }
public static void copy ( final File source , final File target ) throws IOException { copy ( source , target , DEFAULT_BUFFER_SIZE ) ; }
Copy a file.
Copy a file .