Merging projects

Merging projects

We want to rearrange our projects. Lets say we discover that we have 5 separate projects from customer A.
Now we want to put them all (tasks) under mainproject "Customer A".
Is it any way we can do it?