find all the cpp files in the current folder and move them to another folder(plus takes the bulk output of the find command and gives it as input to the move command in exec)
find . -type f -iname '*.cpp' -exec mv -t ./test/ {} \+