Newbie basics

I would recommend robocopy over xcopy, but plenty of freeware to achieve what you want using folder sync.

Including plenty of cloud options such as dropbox, onedrive, etc. It all depends on your needs and data size.

I personally use robocopy for important files (in LAN) combine with offsite backups (dropbox).