Im trying to copy a file in java and move it to a new folder. This is the code i HAve been using but I always get this error \"(Access is denied) in the specified directory\". I
Apache Commons IO is also another way to go, specifically FileUtils.copyFile(); it handles all the heavy lifting for you.
FileUtils.copyFile();