code: public static Boolean[] toObjectArray(boolean arr[]){
          if(arr==null)
              return null;
          
          Boolean result[] = new Boolean[arr.length];
          for(int i=arr.length-1; i>=0; i--)
              result[i] = arr[i];
          return result;
      }
docs: /*-------------------------------------------------[ toObjectArray ]---------------------------------------------------