So why not just clone (image) the 512 GB SSD onto the new one, and expand the size of the C: partition to use all the extra space?  Macrium Reflect 8 (free) is a good tool for this.  It might be a good idea to go for a PCI-e Gen 4 SSD now, even though the XPS 8940 only supports Gen 3. That way, the new SSD will be better supported in your next PC upgrade which supports PCI-e Gen 4. (Caveat: PCI-e 5 is in the works and will be even faster than 4.) Note: You'll probably want to reconfigure Windows and BIOS to use AHCI instead of RAID (Dell's factory setting) before you swap SSDs because Samsung SSDs and software don't work well when BIOS is set to RAID.  This has to be done the right way or you'll make the PC unbootable, so don't just go into BIOS setup and willy-nilly change that setting.
I created the USB recovery onto a 64GB USB. It created 2 partitions 2GB DELLRESTORE and 55GB media partition. I am wondering why it did not copy the or download/install the windows 11 image onto the USB drive.  
XPS 8940, creating Recovery USB for Windows 11