Copy Files with specific extension from multiple directories into a single directory Linux

How to Copy Files with specific extension from multiple directories into a single directory Linux

find . -type f -print0 | xargs -0 cp -t /home/my/dir/

The only problem is file name conflicts...hmmm how to solve?