Get Doctype list in another Doctype

Hello guys, I’ve 2 doctypes (doctype (a) and doctype (b))

when I add new data into doctype (a) I want to copy these data and import it beside b lists

how can I do that??