Fixing copy script in build system to ensure war files are moved without corruption