Wrong file checked for size.
MODIFY
src/test/java/org/apache/commons/io/FileUtilsTestCase.java
src/test/java/org/apache/commons/io/FileUtilsTestCase.java
@@ -1234,7 +1234,7 @@ public void testCopyFile2WithoutFileDatePreservation() throws Exception {
final long now = System.currentTimeMillis() - 1000L;
FileUtils.copyFile(testFile1, destFile, false);
assertTrue(destFile.exists(), "Check Exist");
- assertEquals(testFile2Size, destFile.length(), "Check Full copy");
+ assertEquals(testFile1Size, destFile.length(), "Check Full copy");
final long destLastMod = getLastModifiedMillis(destFile);
final long unexpected = getLastModifiedMillis(testFile1);
assertNotEquals(unexpected, destLastMod,

Wrong file checked for size.