Use memcpy for binary structures, not strncpy