Find all files with the extension ".jpg" in the current directory and its subdirectories, then copy each of them to the directory "/path/to/destination".
find ~ -name '*.jpg' | xargs -I {} cp {} /path/to/destination