Function Directory.rename
Renames (move) the from
file to the to
destination. Both arguments should be paths to files, either relative or absolute. If the destination file exists and is not access-protected, it will be overwritten.
Returns one of the error
code constants (OK
on success).