Copyfile and copyfolder don't replace older files

The copyfile and copyfolder statements copy files but don’t replace older versions of a file. Is there a statement that does replace them or is it necessary to delete the older files first?

Save? It will not work with folders, but it works with files.