I have an array that is initialized like:
Element[] array = {new Element(1), new Element(2), new Element(3)};
I would like to convert this
You probably just need a List, not an ArrayList. In that case you can just do:
List arraylist = Arrays.asList(array);