view Method and copy Method in Python