Using binaries like cp or rsync does not work for builds triggered with Netlify CLI. Those builds are run on the user's machine, which might not have cp and/or rsync installed, especially on Windows.
Would using a core Node.js fs.* method or a library like cp-file or cpy be an option instead?