Install an OS on it, and then run the migration assistant.
Preferably, you'd have both drives connected at the same time. If necessary, you can image the old drive to a network share and then run the migration assistant against a mounted disk image after you've created a user on the new OS.