Converts "copy external" into a proper "Copy" task to leverage gradle better.