updated  to copy all the files from the build dir