public static function move($sourcePath, $destinationPath)
    {
        if (!self::exists($sourcePath)) {
            throw new FileNotFoundException('Cannot find source file: ' . $sourcePath);
        }
        return rename($sourcePath, $destinationPath);
    }
public static function move($sourcePath, $destinationPath)
    {
        if (!self::exists($sourcePath)) {
            throw new FileNotFoundException('Cannot find source file: ' . $sourcePath);
        }
        return rename($sourcePath, $destinationPath);
    }
public static function move ( $ sourcePath , $ destinationPath ) { if ( ! self :: exists ( $ sourcePath ) ) { throw new FileNotFoundException ( 'Cannot find source file: ' . $ sourcePath ) ; } return rename ( $ sourcePath , $ destinationPath ) ; }
Moves file from the source to the destination, throws FileNotFoundException if the source directory does not exist.

@param string $sourcePath
@param string $destinationPath
@return bool
@throws FileNotFoundException
Moves file from the source to the destination throws FileNotFoundException if the source directory does not exist .