How do you move a file from one directory to another in Java?
You can use the `File.renameTo()` method to move a file to another directory.
That's right, but `renameTo()` works more like renaming a file and might not always move it to another directory.
Can you describe a scenario where `File.renameTo()` might fail when moving files?