code: public static boolean[] copyOf(final boolean[] original, final int newLength) {
          if (newLength == original.length) {
              return original.clone();
          }
  
          final boolean[] copy = new boolean[newLength];
  
          if (N.notNullOrEmpty(original)) {
              copy(original, 0, copy, 0, Math.min(original.length, newLength));
          }
  
          return copy;
      }
docs: @see Arrays#copyOf(boolean[], int)
  
  @param original
  @param newLength
  @return