Fix regression from previous commit.
MODIFY
src/main/java/org/apache/commons/io/FileUtils.java
src/main/java/org/apache/commons/io/FileUtils.java
@@ -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);
}
/**

Fix regression from previous commit.