Is there any way to use reference texture with wrapped model?

I wrap model A by using model B as reference and each model have there own UV. (The model look the same after using wrapping node)
How do I replace the texture of model A with model B texture?

I already try to bake texture B in to UV A in blender but it’s need a lot of edit.

You can use a TransferTexture node to bake texture from B to A’s UV space. After that, you can use an ExtrapolateImage node to fill the empty space between UV islands. Please let me know if it works for you.