Deep copy is only a copy of the outer layer. I need an array element that is exactly the same as the old array, but the element addresses of all child elements and child elements are not the same.
the current idea is to nest and traverse all elements, but I am not familiar with nesting, so I can"t implement it for the time being. Ask God to help me write a method.