replaced copy with gradle copy