Copy repository to temp folder