recursively copy all files from one directory to another with exceptions
Use rsync:
rsync -a --exclude=logs --exclude=log from/ to/
I think you're looking for something like:
find dir -type d ! \( -name 'log' -o -name 'logs' \) | xargs -I{} cp -R {} /www/test2/{}