creating parent directories if not exist in copy.sh