memcpy behavior is not part of C++ standard. The C++ standard is only concerned with formally defining the ability to use it and the header name to include.
It's used everywhere in real life C++ code.
quotemstr got a very good point and I'm grateful for the heads up.
C++ is not 100% compatible with C.