RenameFile

RenameFile["file1“, ”file2"]
renames file1 to file2.