Move certain files while retaining folder structure

Possibly this script might already do what you want (or not need much modification):