Renames oldPath to newPath, replacing a file there, in one step (rename(2)) when both are on one file system. Throws on failure.
oldPath
newPath
Renames
oldPathtonewPath, replacing a file there, in one step (rename(2)) when both are on one file system. Throws on failure.