I ended up having to copy the memory after all. But that is often not the case.