You need to use preserve to change the size of an vbscript array while keeping the already existing elements.
preserve
The syntax works as follows:
ReDim Preserve yourArray(newSize)