Create Deep Copy Of Array Javascript Iterations In Python