Use model.component(<ctag>).mesh(<tag>).create(<ftag>,"CopyDomain") to copy mesh between domains in a 2D or 3D geometry.
Use the properties source and
destination to specify the source and destination boundaries. The
copymethod property determines which type of copy is used: single copy (all-to-one), array copy (one-to-one), or automatic detection. The value
auto lets the software choose between single copy (all-to-one), array copy (one-to-one), or a mixture of the two.