im going to assume your unrooted here...
move as many apps to SD card as possible... get app2sd to help you with this... system apps and apps that use system data cannot be moved... sorry... this helps cause all data and settings of the app will be saved to the sd card.
next... i would hook up dx2 to pc via usb mass storage mode... copy/paste everything to desktop of computer....
next... hook up razr maxx via usb mass storage mode... RAZR will be a tad different. You'll have 2 drives that will pop up in My Computer... INT and EXT... INT is the internal 8GB memory. EXT is the SD card of the RAZR. To be on the safe side, copy/paste everything from the desktop that you got from the dx2 to the INT drive of the RAZR....
as for your apps... re download them.. Market should automatically do this when you activate the RAZR under the same gmail account you used on the dx2. The settings saved on the sd card that your transferred to the razr above will automatically fal into place. IF the apps do not auto download, go to
https://forums.androidcentral.com/e.../https://play.google.com/store&token=2n0gDheM , log into the gmail account you used for the dx2, go to my library, and all apps you ever downloaded in history will be here... just re-install them.
as for contacts... i use Google. So any android phone will get my contact data when I log into my gmail account on it and sync it. There are many many many other ways to transfer contacts, like Verizon mobile backup, market apps, etc...
as for your texts... again, many apps to help you with this.
good luck