In this implementation memcpy() is implemented using bcopy(3), and there-
fore the buffers may overlap. On other systems, copying overlapping
buffers may produce surprises. A simpler solution is to not use
memcpy().
OpenBSD 4.7 May 31, 2007
Это не гнумозоли, здѣсь все просто работает.