Replaces a file.
// creates a menu entry that replaces a file. @MenuItem ("Example/Replace Some file") static function ReplaceAfile () { // Replaces the directory at "File" with "ReplacedFile" FileUtil.ReplaceFile("pathTo
Your/File", "pathTo
Your/ReplacedFile"); }