Copies a file to a new location preserving the file date. This method copies the contents of the specified source file to the specified destination file. The directory holding the destination file is created if it does not exist. If the destination file exists, then this method will overwrite it
(final File srcFile, final File destFile)
| 1037 | * @see #copyFile(File, File, boolean) |
| 1038 | */ |
| 1039 | public static void copyFile(final File srcFile, final File destFile) throws IOException { |
| 1040 | copyFile(srcFile, destFile, true); |
| 1041 | } |
| 1042 | |
| 1043 | /** |
| 1044 | * Copies a file to a new location. |