Hi i have a carousel and i want one button to "copy url". Can't seem to find the solution. Help is much appreciated!! thanks in advance. !

<div class="carousel-inner">
<div class="item carousel-item active">
<div class="row">
<div class="col-sm-4">
<div class="thumb-wrapper">
<div class="img-box">
<img src="/examples/images/cities/london.png" class="img-responsive img-fluid" alt="">
<div class="thumb-content">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam eu sem tempor, varius quam.</p>
<a href="#" class="btn btn-primary">copy url<i class="fa fa-angle-right"></i></a>
<a href="#" class="btn btn-primary">buy now <i class="fa fa-angle-right"></i></a>