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]=""/>
<ion-fab-button id="copy" (click)="onCopyClicked($event)" translucent>
            <ion-icon name="copy"></ion-icon>

Did you try using ngx-clipboard?

If anyone stumbles on this Capacitors plugin works great for text and images - Capacitor - build cross platform apps with the web