Given the code fragment:
Path source = Paths.get ("/data/december/log.txt");
Path destination = Paths.get("/data");
Files.copy (source, destination);
/data/december/log.txt is accessible and contains:
and assuming that the file
10-Dec-2014 Executed successfully
What is the result?
log.txt is created in the /data directory and the content of the /data/december/log.txt file is copied to it.