code: public static <T> T[] remove(final T[] array, final T target) {
  
      if (array == null) {
        return null;
      }
      int count = count(array, target);
      if (count > 0) {
        @SuppressWarnings("unchecked")
        T[] newArray = (T[]) buildArray(array.getClass().getComponentType(), array.length - count,
          null);
        int index = 0;
        for (T element : array) {
          if (JudgeUtils.notSame(element, target)) {
            newArray[index++] = element;
          }
        }
        return newArray;
      }
      return array;
    }
docs: 移出给定数组中的所有指定元素。Remove all given target element from given array.
  
  @param array 源数组。 source array.
  @param target 想要被移除的元素。element want to remove.
  @return 一个新的数组，包含给定数组中除指定元素外的所有元素。元素索引相对不变。a new array have removed all
  given target.