don't use memcopy to copy objects... in c++ we have copy constructors... generously granted by the compiler, SO USE THEM instead of UB