improve CopyBuild.py