copy to repo (with configurable location)