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
(File srcFile, File destFile)
| 387 | * @see #copyFileToDirectory |
| 388 | */ |
| 389 | public static void copyFile(File srcFile, File destFile) throws IOException { |
| 390 | copyFile(srcFile, destFile, true); |
| 391 | } |
| 392 | |
| 393 | /** |
| 394 | * Copies a file to a new location. |
nothing calls this directly
no test coverage detected