code: public static Integer[] box (int[] list)
      {
          if (list == null) {
              return null;
          }
          Integer[] boxed = new Integer[list.length];
          for (int ii = 0; ii < list.length; ii++) {
              boxed[ii] = list[ii];
          }
          return boxed;
      }
docs: Covnerts an array of primitives to an array of objects.