copy from bitbucket repo