Update copyresources.sh