Add copy constructor and destructor to hashprocessor