Find all files with the extension ".jpg" in the current directory and its subdirectories, then copy each of them to the "~/Documents/images/" directory with the same name.
find ./ -iname '*.jpg' | xargs -I% cp % ~/Documents/images/%