Is there a way to manipulate the size of an array?