code: public static Boolean[] toReferenceType(boolean[] primArr) {
  	Boolean[] refArr = new Boolean[primArr.length];
  	for (int i = 0; i < primArr.length; i++)
  	    refArr[i] = Caster.toBoolean(primArr[i]);
  	return refArr;
      }
docs: convert a primitive array (value type) to Object Array (reference type).
  
  @param primArr value type Array
  @return reference type Array