an array length is final. meaning you can not change it. what you can do however is to create a new array and make a copy of the former one