A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
Hello Dan_251,
The modern site pages do not allow you to copy or move files or folders to another directory on the GUI based on the attributes of the page sites. If you need to move files or folders from the directory, you need to use PowerShell.
Please connect to PowerShell SPO, then connect to PnPOnline.
The following cmdlets would help to copy the files.
Install-Module -Name Microsoft.Online.SharePoint.PowerShell
Update-Module -Name Microsoft.Online.SharePoint.PowerShell
Connect-SPOService -Url https://*******-admin.sharepoint.com
Install-Module SharePointPnPPowerShellOnline
Update-Module SharePointPnPPowerShell*
Connect-PnPOnline
Copy-PnPFile -SourceUrl "/sites/allcompany/SitePages/Folder Name" -TargetUrl "/sites/allcompany/Folder name" -Overwrite
Then you can delete the wrongly copied folder from the page sites.
Thank you.