A new array has been made, that could be a different size, and the old array contents copied into it, and the pointer now points to the new array instead of the old array.
If you want to call that a changed array size, great. If you want to call it making a new array of different size and using the same pointer to get to it, also great. Up to you how you think of it so long as you understand what's happening.