A more user user friendly way if you have a Windows PC would be to use a program called ‘Win32 Disk Imager’. You can put the SD card in your computer and this program can read from it and make a image (.img) file. You can then use this program again to write the image file to a new SD cards of your choice. It will be identical.
I do this to make backups of my RetroPie in case I do something wrong and mess it up.
Heres a Link