Copying a file using FileUtils.copyFile
问题 I am trying to copy files using file utils copy file method. I am running in to some issues where an exception is some times thrown java.io.IOException: Failed to copy full contents from 'path.xml' to localfile.xml I have googled and seen in the code that this exception is thrown when the target file length is different to the destination file length, The exception only occures some times - this could be due to the fact that the file i am trying to copy is consistantly updating so i might