I would like to dynamically increase the size of a polymorphic array (say, from n to n+1) while retaining the lower n array values and making a copy of the nth value in the n+1 slot. I've discovered that I can't make a temporary clone of the array, deallocate and resize/reallocate the original array, and use intrinsic assignment to copy individual array components from the temporary array into the newly resized array (an error #8304 results).
Any ideas about how I might accomplish this?
I am using version 12.1.



