It depends on the size of the tank really.
The most important thing is to cause the fish as little stress as possible.
transfer them as quickly and smoothly as possible and cover the container so that it is dark.
take as much water with you as possible to put back into the tank at the other end.
I do know that there are certain retailers that run a service to do this for you but this will obviously cost something.