Copy Content of Ptr to MemoryBlock

How am I able to copy the content of a Declare Method which outputs a Ptr to a Xojo MemoryBlock?
What is the general concept?

Why not consult the docs: MemoryBlock ?
And for the new framework: Xojo.Core.MemoryBlock