code: public static List<String> toList(String[] input) {
          List<String> ret = new ArrayList<>();
          for (int i = 0; i < input.length; i++)
              ret.add(input[i]);
          return ret;
      }
docs: Convert a string array into a list
  @param input the input to create the list from
  @return the created array