Rename the file at path1 into path2
SyUtils
if RenameFile(path1,path2) then writeln('Ok');
#include <stdio.h>
rename(path1, path2);
#include <filesystem>
std::filesystem::rename(path1, path2);
err := os.Rename(path1, path2)
import os
os.rename(path1, path2)
File.rename(path1, path2)
No security, no password. Other people might choose the same nickname.