title: java.nio.file Files.move() is copying instead of moving
body: <p>I'm trying to use Java NIO Files.move method to move a directory.  It does copy the directory contents to the new location, but it leaves the old directory in place.  I would consider this a copy operation and not a move operation.</p>
  
  <p>Any ideas why this is happening?  Here is my code:</p>
  
  <pre><code>Path source = FileSystems.getDefault().getPath("C:\\test-source");
  Path destination = FileSystems.getDefault().getPath("C:\\test-destination");
  try {
      System.out.println("Moving files ...");
      Files.move(source, destination, StandardCopyOption.ATOMIC_MOVE);
      System.out.println("Done.");
  } catch (IOException e) {
      System.out.println("Moving failed: " + e.toString());
  }
  </code></pre>
  
  <p>Again, the destination directory appears with all its contents, but the source folder remains in place.</p>