Fix regression from previous commit.
@@ -732,7 +732,7 @@ public static void copyDirectoryToDirectory(final File sourceDir, final File des
* @see #copyFile(File, File, boolean)
*/
public static void copyFile(final File srcFile, final File destFile) throws IOException {
- copyFile(srcFile, destFile, StandardCopyOption.REPLACE_EXISTING);
+ copyFile(srcFile, destFile, StandardCopyOption.COPY_ATTRIBUTES, StandardCopyOption.REPLACE_EXISTING);
}
/**
