copying sourcefiles from groovy