Not sure why you focus on arrays for deep copying. Deep copying objects is a problem in many languages and brings some challenges with itself that make it almost always necessary to delegate it to a library.
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
replies: