autotest: copy the build_binaries.sh script before running

this prevents altering the script while running