Okay seriously, a mel script just to copy UVs? I thought it would be simpler by now. There must be a solution and i'm the retarded one. Anyway till I find the solution. Select Source followed by Target and execute the mel script.
On maya 2010 but it seems to work from Maya8 onwards.