The best/safest way to do it is to lay a new sand bed and seed it with the old sand. Do not rinse the sand you seed it with and in a few months it will be a nice sand bed
Moving the sand bed? well I have done it, but only a shallow sand bed. Put all you LR, livestock in a holding tank and siphon down as much water as you can. to the point you carve out a corner down to the glass and tilt the tank to siphon the rest. then move the sand over. Put enough old tank water to cover the sand and add the LR. fill 50% old and 50% new. But you need to have mechanical filtration filter sock and a magnum filter if possible, diatom would be even better. Run carbon and crank up the skimmer. replace/clean the mechanical filters as they clog. And most importantly have 4-5 water changes ready to go, you are going to have a mini cycle.
Is it a risk? yup it is I do not recommend even though I do it.
And lastly, no matter how you choose to move over, expect everything to go wrong. Have a backup plan with extra containers, hoses, water, new sand,tubing, plumbing and phone numbers. At the first sign things are going other than planned call for help. If possible have someone there to start. I have seen and have myself lost it in the middle of things. A second set of hand can calm a bad situation. Split Buckets, water spills, fry electrical, livestock stressed, under estimate times, etc, etc, etc.