A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Install the SharePoint 2019 CSOM library using the NuGet below. Install-Package Microsoft.SharePoint2019.CSOM -Version 16.0.10337.12109 Then use the methods of MoveCopyUtil class to copy/move folders and files. Example: string dstUrl = "http://sp2019/sites/team1"; string sourceFolder = "http://sp2019/sites/team1/libraryname/folder1"; string destFolder = ...

Only top voted, non community-wiki answers of a minimum length are eligible