Is the M.2 SSD the only drive in the system or do you have an HDD as well? If you have an HDD then you can create an image of the SSD and store it on the HDD with a program such as Macrium Reflect Free available here. Then using the Macrium Reflect Rescue Media, you create a Rescue Media in the Other tools tab on MRF. Next remove the small SSD and install the new SSD. Then you can boot the system with the Rescue Media and Restore the image on the new drive.  Instructions on creating and restoring an image can be found on the Macrium web page and videos at YouTube such as found here. Now if you do not have an HDD then you will need some place to store the image and you can purchase a drive enclosure for the M.2 drive here. On the other hand if you are planning a clean install then download the Windows 10 media creation tool here, assuming you want Windows 10, and the tool will create a bootable Windows 10 installation flash drive. Instructions for removing and installing the M.2 drive can be found on the support page here.
I don't know if anyone can help me but I bought a 1tb Dell M.2 NVMe SSD drive from Dell and I don't know how to install it on my. Alienware Aurora Ryzen Edition R10. I'd like to find a way to replace the existing operating system and data on the 256gb M.2 NVMe SSD on the motherboard to the new 1TB SSD drive.  I don't know if I'm making any sense here, but thank you for taking the time to read this and replying if you can.  
Aurora R10, installing SSD upgrade as the primary boot drive