File
move(string $directory, string $name = null)
Moves the file to a new location.
Parameters string $directory The destination folder string $name The new file name Return Value File A File object representing the new file Exceptions FileException if, for any reason, the file could not have been moved