Copy array to arraylist rather than reassignment