<human>:  Can you show me a Python code to copy the shape of an array in Python.
<bot>: Here is a Python code to copy the shape of an array in Python

import numpy as np

def copy_shape(arr):
  """Copy the shape of an array.

  :param arr: the array whose shape is to be copied.
  :type arr: numpy.ndarray
  :returns: the shape of the array.
  :rtype: tuple
  """
  return arr.shape

# Enter the array
arr = np.random.rand(10, 10)

# Calling the function
print((copy_shape(arr)))

#Example Output
# (10, 10)

#Remember to inspect code for bugs.