Python: copying a list the right way