Copy image (png) to clipboard

I am trying to copy a png image to the clipboard when the user clicks a button.
But i couldn’t find any solution. I need help please.

...
<img [src]="image.src" (click)="openPopup($event)" [id]="image.id"/>
<ion-fab-button id="copy" (click)="onCopyClicked($event)" translucent>
            <ion-icon name="copy"></ion-icon>
</ion-fab-button>
...

Did you try using ngx-clipboard?