Find all files in the current directory (and its subdirectories) whose name matches the pattern '*.*' and execute the command 'cp' to copy them to the directory '/tmp/cfg/'.
find ./ -iname '*.*' -exec cp {} /tmp/cfg/ \;