If you pass the same directory to both parameters of the method,
then sure, the file is being renamed. Think of it as being moved to
a different place within the folder. This method can also move
files do different directories, of course, but if you pass the same
directory structure to both parameters, the method will simply
rename the file.