bitwise and memberwise copy