fixed copy of SamHeader.cpp

I fixed the error message not getting passed when the copy constructor is implicitly called.