You are getting the value '@Param1' in your output because you have assigned 'Param1' to the variable @Param2.

Code:
set @Param2='Param1'
What you should have typed on this line is...

Code:
set @Param2 = @Param1
This will assign the value that the variable @Param1 contains to @Param2.

Hope this helps....