Copy constructor, some helper methods