macOS: Changing Created and/or Modified date of files

Using macOS Mojave

I used the WD provided utility to copy files from My Cloud drive to My Cloud Home. The files transferred over OK but the folders on My Cloud Home all have the modified and created date of 11/11/2018. I want to change the date to the created date on the original My Cloud drive. Found instructions online using Terminal. The final step was to drag the folder from Finder into Terminal in order to get the path. The results did not work at all. Neither did a couple of apps i found on the Apple App Store.

Any suggestions??