You can't use wildcards for folder names unfortunately, only for file names. If you're using a 'Copy Files' build task you can put this value in 'Source Folder':
D:\a\r1\a\
and this value in 'Contents':
**\*.zip
Or you can put the full file directories with *.zip. Good luck.