Back to Blog
Arnošt Havelka

Copy Files in PowerShell

Duplicate files using Copy-Item.

Start Interactive Lesson
Copy Files in PowerShell

Copy Files in PowerShell

The Copy-Item command duplicates files and directories. Learn to safely replicate your data.

Copying Files

Usage:Copy-Item -Path [source] -Destination [dest]
Copy a file to new location

File Duplication

Command Prompt
original.txt
C:\Users\User>ls

Knowledge Check

1 / 1

What is the source parameter called?

References

These Microsoft Learn and Windows documentation links provide authoritative details for the commands used in this article.

Up Next

Move and Rename Files in PowerShell

Relocate and rename files using Move-Item.