Resizes the internal array item buffer.
Existing elements are preserved; new elements are set to zero.