I guess it is as easy as registering your new Kindle to your account. Then download all your purchases to the new one.
Then, if you want to sell your old Kindle, deregister it from your account, delete all contents on your old Kindle and sell it or give it away (or burn it or dispose of in any way you choose).