So here's my problem, 
We want to automate the copy of notepad (Sharepoint) in my company,
We already have the power-automate script which allows us to copy links from sharepoint sites,
And here is the Power shell code which allows you to recover the site files and copy them to another:

```
$SiteURL = "https://******.sharepoint.com/sites/********"
$TargetFolderURL = "/sites/*********/*****"
$SitestoCopy = "copy"

Connect-PnPOnline -Url $SiteURL -UseWebLogin

$items = Get-PnPListItem -List $SitestoCopy

Write-Host "Nombre total d'éléments :" $items.Count

ForEach ($item in $items) 
{
    Write-Host $item["Title"]

    #Copy All Files and Folders from one folder to another
    Copy-PnPFile -SourceUrl $item["Title"] -TargetUrl $TargetFolderURL -SkipSourceFolderName -Force

}

```

I have an error : Copy-PnPFile : File not found.

i have no clue to resolve this problem,
Anyone could help me?

Thank you