Access to histogram data

Dear all,
I would like to transfer the data stored in a 1D/2D/3D histogram to another object which I created myself. All I need is the pointer to the memory where the ROOT histogram object has stored its data because I want to avoid an unnecessary copy process. But how can I ask the histogram object to provide me this pointer?

Best,
Ralph

MyHistiPointer->GetArray()
See “TArrayD” / “TArrayF” / “TArrayI”, …

Excellent !!!
Many thanks,
best
Ralph