measurements shown that using memcpy was mistake