Description
DFSTestUtils.copyFile() is implemented by copying data through FileInputStream / FileOutputStream. Apache Common IO provides FileUtils.copyFile(). It uses FileChannel which is more efficient.
This jira proposes to implement DFSTestUtils.copyFile() using FileUtils.copyFile().