Write a function in Python that takes an array of integer values and reverses the order of the values.
[1, 2, 3, 4, 5]
def reverse_array(arr):
  return arr[::-1]  # Returns a slice of the list in reverse order