Combining UV layers

I have a car mesh that I want to unwrap. I have unwrapped the entire object into a main UV texture layer. However, I also have unwrapped certain parts of the object into different UV layers and applied textures to those parts individually. How can I get it so that the textures from the other layers are baked onto the main UV layer, but in the format of the main layer?