Moves a file or a directory from a given path to another path.
// creates a menu entry to move a file or a directory. @MenuItem ("Example/Move Something") static function MoveAFile () { // moves the file "YourFileOrFolder" from "path/" to "movepath
" FileUtil.MoveFileOrDirectory("path/YourFileOrFolder", "movepath
YourFileOrFolder"); }