Hello I'm trying to copy file to another directory with commons fileUtils. I tried this
FileUtils.copyFile(getOutputFile(), new File("RESULT/final_result.txt");
The new final_result.txt
file contains only the first line of my output file, what did I do wrong?
Is there an alternative to commons IO, or some other way I'll take any as long as it does the trick.