copy arrays before shuffling; fixes weird bug where iOS standalone web app was getting the same shuffled array on each load