rename

rename(NAME1: stringa, NAME2: stringa)

Renames flle named NAME1to NAME2. On error, it returns nil , plus a string describing the error.