Copy the first randomly sorted file from the current directory and its subdirectories to the first randomly sorted .txt file in the current directory and its subdirectories.
cp $(ls -R | sort -R | head -1) $(find . -name '*.txt' | sort -R | head -1)