Copying An Array Javascript Push Method In Python