fix(executorch): copy the engine in bulk instead of byte by byte (#4473)