input: Write a python function to compare two arrays and check if all elements of the first array are present in the second array.
  assert compare_arrays([1, 2, 3], [1, 2, 3, 4, 5]) == True
  assert compare_arrays([4, 5, 6], [1, 2, 3, 4, 5]) == False
  assert compare_arrays([7, 8], [8, 7, 9, 10]) == True
  assert compare_arrays([], [1, 2, 3]) == True
output: def compare_arrays(arr1, arr2):
      return all(elem in arr2 for elem in arr1)