public static function move($pathfrom, $pathto) { if (Media::copy($pathfrom, $pathto)) { return Media::delete($pathfrom); } else { return false; } }