[Olena-patches] 2115: Fix std::memcpy usage.