|oldname||The name of the file to change.|
|newname||The new name to give the file.|
This function will rename the specified file with the specified
name. The function will return true if the file has
successfully been renamed, or false in any other
WARNING! This function may not work as you expect due to GameMaker: Studio being sandboxed! Please see the section on File System Limits for more information.
This would check for a file and if it exists it is renamed.