input: Write a python function to generate a random permutation of an input array.
  assert set(random_permutation([1, 2, 3, 4, 5])) == {1, 2, 3, 4, 5}
  assert set(random_permutation(['a', 'b', 'c'])) == {'a', 'b', 'c'}
  assert set(random_permutation([10, 20, 30, 40])) == {10, 20, 30, 40}
output: import random
  
  def random_permutation(arr):
      arr_copy = arr[:]
      random.shuffle(arr_copy)
      return arr_copy