code: public static String[] toStringArray(final Enumeration<String> enumeration) {
      return StringUtils.toStringArray(Collections.list(enumeration));
    }
docs: Copy the given Enumeration into a {@code String} array. The Enumeration must contain
  {@code String} elements only.
  
  @param enumeration the Enumeration to copy
  @return the {@code String} array