input: Write a python function to calculate the correlation coefficient between two numpy arrays.
  assert np.isclose(calculate_correlation(np.array([2, 3, 5, 7]), np.array([1, 4, 6, 8])), 0.8528028654224417)
  assert np.isclose(calculate_correlation(np.array([1, 2, 3]), np.array([4, 5, 6])), 1.0)
  assert np.isclose(calculate_correlation(np.array([1, 0, -1]), np.array([2, 0, -2])), 1.0)
output: import numpy as np
  
  def calculate_correlation(array1, array2):
      mean1, mean2 = np.mean(array1), np.mean(array2)
      std1, std2 = np.std(array1), np.std(array2)
      covariance = np.mean((array1 - mean1) * (array2 - mean2))
      correlation = covariance / (std1 * std2)
      return correlation