code: private String[] mergeAndConvert(List<String> list, String[] array) {
          Set<String> set = new HashSet<String>(Arrays.asList(array));
          set.addAll(list);
          return set.toArray(new String[set.size()]);
      }
docs: Returns a String[] with the values of both input parameters.
  Duplicated values are inserted only once.
  
  @param list List of string
  @param array Array of String
  @return Array of String with all values