Push! function changes original array

deepcopy instead of copy Will do the job.

3 Likes