I wanted to deep and shollow copy with dynamic array? it is possible and how

In reply to muku_383:

I don’t understand if there is a problem in making a deep copy of the dynamic array the way you have coded. Can you please specify the error line or the issue more clearly?