I suggested that you create a NEW array of the desired size.
Then copy the elements from the old array to the new array. The Arrays class has a method to do that.
ArrayList is a java class. See the API doc for how to create one and what methods it has.