Lots of different backup applications can do that.
They work similarly. The interfaces differ. Some are unnecessarily complicated.
I use SyncBackFree.
Others include Free File Sync, Karen's Replicator, Second Copy, among others.
Some are free; some not.
Generally...they allow you to select which files and folders to include. That might be all or just some. You can choose which, down to the individual file level.
In the configuration, you have to decide on this issue:
If I delete or modify a file on drive A, do I also want it to be deleted or modified on drive B. Or not?
I use SyncBackFree several times a day to make a replica of 140,000 files on drive D onto drive E. If I delete or modify a file on drive D, it is also modified or deleted on drive E. Takes 2 or 3 minutes.
I do NOT automate this process. I do it manually on demand with a single mouse click.