How To Convert Texture 2DDynamic to just Texture 2D?

Thanks for the insight
I tried to parse the Texture of the Brush like that, but the Texture2D Cast Failed.
I’ll look into creating a new Texture2D in C++