Question: how to move all files from one folder to another using java?
Answer: Use java. io. ... 
Use java. nio. ... 
Use org. apache. ... 
Use org.apache.commons.io.FileUtils.moveDirectoryToDirectory() This method can be used to move one folder and all it's sub folder and files to another folder. ... 
Java Main Method To Invoke Above Methods.