Fix bug of copy.sh