C++ fix: use memmove instead of memcpy (DenseMatrixUpdatesRunnerC non-deterministically fails)