Welcome to the forum!
I know it doesn't seem important when you start programming, but indenting will help you find errors. One missing parenthesis can throw off your whole function.
I would just have the 2 dwgs open, select objects in MS then Ctrl+c go to other dwg use Edit Paste to orginal coordinates, repeat for the layouts. In the time it took me to type this I am slow the task was done.