Copying File to Bootflash:
YANG
Copy
<copy xmlns="http://cisco.com/ns/yang/cisco-nx-os-device"> <source>tftp://<<tftp_ip>/ws/sample_copy_file.txt</source> <destination>bootflash:</destination> <vrf>management</vrf> </copy>