New on the docs and new in Eleventy v3.1.0:

HTML Relative Passthrough File Copy (only copy files referenced in templates!)

https://www.11ty.dev/docs/copy/#copy-a-file-alongside-a-template