Home » Blog » SharePoint Online » Easy Way to Copy Document Library from One Site to Another

Easy Way to Copy Document Library from One Site to Another

Published By Deepa Pandey
Anuraag Singh
Approved By Anuraag Singh
Published On October 23rd, 2023
Reading Time 6 Minutes Reading

Learn to Copy Document Library from One Site to Another Easily

SharePoint is one of the oldest and most continuous Microsoft services that is still going strong. Moreover, its ability to act as a site creation and management portal is second to none. Not to mention that it can also be used as a document storage facility. For this reason, there are many who wish to copy document libraries from one site to another within their SharePoint environment. The cause for this might be anything from reorganizing content, moving it for archival purposes, or aggregating files at a single location. Whatever the reason might be, you will find all possible methods to move the document library right here. Let’s get straight to the best method out there.

Professional Means of Coping Sharepoint Document Libraries

As the adoption of SharePoint is only going to increase in the near future, one needs a capable partner who can deal with situations where SharePoint lags. Out of the many on the market, none can match the caliber of SysTools Professional SharePoint Online Migration Tool. Whether we talk about its industry-defining features or its attractive price point, the tool outperforms the rest in every single way. 

Download Now Purchase Now

It has gained praise for its simplistic yet feature-rich UI that hides some of the most robust algorithms underneath. It is a known fact that this tool can copy document library from one site to another in a jiffy.

Here is the full list of features users receive once they get the tool.

  • Perform SharePoint Tenant to Tenant Migration and move its relevant metadata in a single go. 
  • Allows for batch migration of SharePoint sites, saving time and effort. 
  • Migrate document sets, folders, and libraries in a few easy steps.
  • Set a content-wise date filter for the most accurate SharePoint site content cloning. 
  • Feature to Map Permission Settings of Source Users with Destination 
  • Real-time SharePoint data tracking facility within the dashboard of the tool.
  • Copy only newly created data in a SharePoint Site with delta migration option
  • Halt or stop the current migration in case of emergency with the inbuilt button.
  • Both summarized and detailed reports are available for admins to check the process.
  • Direct compatibility with the latest versions of Windows and Windows Server

Next, we have a procedure for using the utility

Automated Steps to Move File from One Document Library to Another

Step 1. Open the tool on your machine. Pick Office 365 as both the Source and Destination.

Select Office 365

Step 2. Scroll down to Workload section, uncheck all boxes except Sites, the and apply Date Filter.

Select Sites and Apply Date Filter

Step 3. Within the Source Screen, Type the Admin Email, and Application ID. Validate them and hit Next. Likewise repeat for Destination site as well.

Validate Source and Target

Step 4. Perform User-mapping in one of three ways from Fetch Users, Import Users, or Download templates. Similarly, choose a method to map the sites.

Map Users and Sites to Copy Document Library from One Site to Another Easily

Step 5. Once the data loads on to the preview screen, make the required selections, like setting the priority Validate the data and hit Start Migration.

Start SharePoint Tenant to Tenant Migration

Some other manual methods are also present, like using PowerShell commands to move or copy files between SharePoint sites. So let’s look at why even experts don’t recommend it.

PowerShell Command Methodology to Copy Document Library from One Site to Another

Users have to launch a PowerShell module on their PC and link it to the SharePoint Online site. To achieve this result, the following command can be executed:

Connect-PnPOnline -Url <SourceSiteURL> -Credentials (Get-Credential)

Make some changes in the sample code, like replacing the SourceSiteURL variable with your own SharePoint site URL.

After your website has been linked, proceed by downloading the Document Library to a local file or folder. For that, refer to the following example:

Export-PnPList -Identity <SourceLibraryName> -Path  -Force

Like previously, some changes are required in this code to reflect your unique scenario. Substitute the <SourceLibraryName> parameter with your Document Library name. 

Now to copy Document Library from one Site to another, use the below command to import the Document Library to destination Site.

Import-PnPList -Path <SourceBackupPath> -DestinationUrl <DestinationSiteOfURL> -Force

In the above command, change the <SourceBackupPath> field as well as the local path where you wish to export the Document Library of the source site. Moreover, you also need to change the <DestinationSiteOfURL> field accordingly.

Once you run the above command, you need to wait until the copy process is completed. Once completed, you will be able to access the data on the destination SharePoint site.

Also Read: The Complete Guide to Office 365 Backup Best Practices in 2023

Now we are going to present the old way of achieving the same result. 

Coping Document Libraries on SharePoint Classic Experience

In the Classic experience, the user must toggle the “Open with Explorer” option. And then follow these steps.

  • Visit the source site that contains the relevant Document Library to copy data from.
  • Within the Document Library and go to the “Library” tab.
  • Hit the “Open with Explorer” option.
  • In the Windows Explorer window, directly paste all the files and folders which were copied at the Source library.
  • Lastly, let the files upload and sync.

This method is less technical than PowerShell but still requires a deep understanding of the SharePoint Portal. Moreover, any mistakes made during the copy-pasting can result in unforeseen errors that are hard to resolve. Up next, we discuss the method for users who operate on the modern SharePoint experience.

How to Copy Document Library from One Site to Another in SharePoint Online Modern Experience

The SharePoint Online modern experience provides quite a simple and user-friendly approach to copying Document Library data. The steps are as follows:

  • Visit the source site that contains the relevant Document Library to copy data from.
  • Go to that library and hit the Gear icon present in the top-right-hand corner.
  • Select all the Site Contents option in the dropdown menu.
  • Press the 3 dots at the side of the Document Library that you want to copy from one Site to another.
  • After which a “Copy to” window pops up, type in the Site URL where you want to move the document.
  • Pick the Document Library in the destination Site and hit the “Copy” button.

This process may sound simple, but the catch is that it fails if there are too many document libraries. Moreover, only one document library can be copied at a time, making it too slow for most real-life scenarios.


In this article on how to copy document library from one site to another, we discussed the most straightforward way of achieving the task. Apart from the tool, here are other methods that involve the use of PowerShell or complicated maneuvers. So it is in the best interest of the admins to trust the tool and quickly move the document library to its intended destination.

Connect With Us