cmdline.txt contains kernel commandline
config.txt contains the bootloader config file, see 
https://www.raspberrypi.org/documentation/configuration/config-txt.md
for details.

Create a FAT partition large enough to contain all these files.
Then copy over all of these files there.
You're good to go.
