correct an potential severe bug. use np.copy(some array) rather not
just use “=” operator. This will prevents future error if modify the
code