added copy method for gridworld