This functionality does not exist in macOS. There were a few free utilities to fill the gap, now discontinued. There are a few pay-ware utilities claiming to do this job. As this is quite a simple function I refused to pay anything upfront just for testing whether they do so to satisfaction.
If you want a home-brewed solution you might have to resort to automator.
If you further want this to be activated via right-click you would have to choose a "Service" to program within Automator. This is possible but very inconvenient, though. In browser or list view you will not be able to select "empty space", you have to right-click on an existing file to then have even the "Services"-submenu appear. This will then perform the programmed action, even regardless of the file being clicked. But this is a pointless exercise in an empty folder.
Further, such a service is difficult to find in an overfull and cluttered context-menu, and it allows only one file at a time to be copied. Need two files or more? Then this gets very awkward.
If I understand the wanted process correctly:
- create a new folder
- perform action to copy a template file from a template repository on disk into that location
(meaning: "with some flexibility", i.e. it's not always the same set of files to pre-populate such a folder)
Then I propose to use a different approach:
- create a ~/Library/Doc-templates folder (path is your choice)
- place your template files in that folder
- create an Automator application (start with the action setting the path to the current location, then "Ask for Finder items" (set that path to Doc-templates; even allows multiple selections) and copy them to current path.
- compile that "Application"
- Place this in a convenient location, eg ~/Library/Applications
- Cmd-drag this application to the Finder toolbar!
Now you can create a new folder, single left-click into the Finder toolbar, get a file selection dialog to choose any combination of your templates, then get those copied to this folder.
Related
"New Item" in Finder's right-click menu
How to create a service (shown in the context menu on the URL) in Safari?
How to Customize macOS Right-click Menu
Create Context Menu Items in Mac Finder
Applescript Copy file to a new folder
Applescript copy files/folders from a source using a second source
Don't forget: If you develop any such an AppleScript/Automator solution for yourself, then put it somewhere public so that others can benefit from using it as well. And perhaps even improve the code or add capabilities.