code: public static Object remove (Object[] list, Object element)
      {
          return remove(EQUALS_COMP, list, element);
      }
docs: Removes the first element that is functionally equal to the
  supplied element (<code>element.equals(list[idx])</code>). The
  elements after the removed element will be slid down the array one
  spot to fill the place of the removed element.
  
  @return the object that was removed from the array or null if no
  matching object was found.