function renameSyncrenameSync(oldPath: PathLike,newPath: PathLike,): voidDeprecatedRenames the file from oldPath to newPath. Returns undefined. See the POSIX rename(2) documentation for more details. ParametersoldPath: PathLikenewPath: PathLikeReturn Typevoid