Is there a better way of achieving this?
public static List toList(String[] array) {
List list = new ArrayList(array.length);
You can try something like this:
List list = new ArrayList(Arrays.asList(array));
public ArrayList(Collection c)
Constructs a list containing the elements of the specified collection, in the order they are returned by the collection's iterator. The ArrayList instance has an initial capacity of 110% the size of the specified collection.
Taken from here