Profesional desarrollo web
Se haría así:
$final_array = array_intersect_key($array_with_all_elements, $array_with_desired_keys)