Change gradle copy to sync type task