public function moveUploadedFile($filename, $dest)
    {
        if (!$this->isUploadedFile($filename)) {
            return false;
        }
        return FileSystem::rename($filename, $dest);
    }
public function moveUploadedFile($filename, $dest)
    {
        if (!$this->isUploadedFile($filename)) {
            return false;
        }
        return FileSystem::rename($filename, $dest);
    }
public function moveUploadedFile ( $ filename , $ dest ) { if ( ! $ this -> isUploadedFile ( $ filename ) ) { return false ; } return FileSystem :: rename ( $ filename , $ dest ) ; }
Moves an uploaded file to a new location
@param  string $filename The filename of the uploaded file
@param  string $dest The destination of the moved file
@return boolean           Success
Moves an uploaded file to a new location