code: public static float[] copyOf(float[] floatArray) {
  
      	float[] copy = new float[floatArray.length];
          System.arraycopy(floatArray, 0, copy, 0, floatArray.length);
          return copy;
      }
docs: This method does a similar job to JSE 6.0's Arrays.copyOf() method and overloads the method for use with arrays of float
  @param floatArray The array to copy
  @return A copy of the input, of component type U