Changes the name of the file/directory denoted by the absolute path of the target object.
The new name is
dest.
Returns
.true if the renaming was successful, otherwise returns
.false.
On Windows, this method calls the
MoveFile API to perform the action.
On Unix-like systems, this method calls the
rename API to perform the action.