copy from local repository