Here's a simple script that uses tar to copy a directory. Naturally it would need to be called cpdir (or alter the usage method) and present in your path to use it.
Code:
#!/bin/sh
usage()
{
cat << USAGE
usage: cpdir <source-dir> <dest-dir>
USAGE
}
if [ -z "$1" -o -z "$2" -o ! -d "$1" -o -e "$2" -a ! -d "$2" ]
then
usage
exit 1
...