How do you move a file to another directory in Java?
You can use the `Files.move()` method to move a file to another directory in Java.
Perfect! You've correctly mentioned the `Files.move()` method.
What would you do if a file already exists in the destination directory when trying to move it?