code: public static double[] array_clone(double[] a) {
          if(a == null) {
              return a;
          }
          return Arrays.copyOf(a, a.length);
      }
docs: Copies the elements of double array.
  
  @param a
  @return