I want to make a backup of the runtime folders and its files (like AML, CEL, Recipes) while the runtime is running.
The user should be able to trigger the backup at any time during runtime.

Can I simply copy the runtime folder and its files to another directory or would this lead to potentially corrupted files which could be written by the runtime at the same time while I am copying them?

Does the runtime save these files "line by line" or at once (I think no corrupted files would be copied then)?

Best regards