Added copy constructor, assignment operator and destructor to TypeInfo