Find all files in the current directory (not including subdirectories), with any name and any extension, and copy them to the directory /home/mydir/.
find . -mindepth 1 -maxdepth 1 -type f -name '*.*' -exec cp {} /home/mydir/ \;