Find all files with the extension .txt in any subdirectories between the second and fourth level of the current directory and move them to the new location.
find -mindepth 2 -maxdepth 4 -type f -name "*.txt" -exec mv {} /new/location \;