code: public static boolean[] copyOf(boolean[] booleanArray) {
  
      	boolean[] copy = new boolean[booleanArray.length];
          System.arraycopy(booleanArray, 0, copy, 0, booleanArray.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 boolean
  @param booleanArray The array to copy
  @return A copy of the input, of component type U