How would you go about doing a 10/22 mag coversion to the 17 hmr?

I have seen a few videos on youtube and it APPEARS all they do is swap the barrel ?

Anyone know?
_________________________
Youth is wasted on the young.