I implemented the copy constructor as it is described here. But still the problem is that when I update route_copy, then the same update is applied to route>
what you do with the copy constructor is just make the new Route use the list of the old Route and therefor any change to one of them immediately effect the other
what you need to do is make the copy constructor make a new list: