Home Logo logo
  • The OneDeploy Platform
    • Build vs. Image: The Deployment Revolution
    • Scalability and Performance
    • Remote Sites: Deployment without border
    • A Unified Deployment Platform
  • About OneDeploy
  • For MSP’s
  • News and Events
    • Unleashing the Latest Version at Microsoft Ignite 2025
    • Why we killed the image
    • How a London Stadium Recovered from the CrowdStrike Outage in Time for a Concert
  • Support and Resources
    • Videos
    • Documentation
  • Contact
Book a Demo
  • The OneDeploy Platform
    • Build vs. Image: The Deployment Revolution
    • Scalability and Performance
    • Remote Sites: Deployment without border
    • A Unified Deployment Platform
  • About OneDeploy
  • For MSP’s
  • News and Events
    • Unleashing the Latest Version at Microsoft Ignite 2025
    • Why we killed the image
    • How a London Stadium Recovered from the CrowdStrike Outage in Time for a Concert
  • Support and Resources
    • Videos
    • Documentation
  • Contact

Introduction

3
  • What is OneDeploy?
  • Concepts and Planning
  • Getting Started – Technical Onboarding

Using OneDeploy

43
  • Config
    • Windows Autopilot – Getting Started
    • Windows Autopilot Integration – OneDeploy Steps
    • Windows Autopilot Integration – Microsoft Entra
    • Organisations – Summary
    • My Tenant
  • Deployment
    • Builds
    • Devices
    • Deployments
    • Builds
      • Build General Settings
      • Builds Overview
      • Configuring the Operating System(s) for a Build
      • Applying Quality Checks to a Build
      • Configuring the Out of Box Experience
      • Domain and Accounts
      • Assigning Software Packages to a Build
  • Library
    • Library Overview
    • Drivers
      • DriverApps
      • Drivers Overview
      • Drivers Summary View
      • Adding Drivers
      • Driver Properties
    • Operating Systems
      • Adding and Managing Operating Systems
    • Software Packages
      • Software Packaging Best Practices
      • Defining Installation Steps for a Software Package
      • Software Package Steps – PowerShell
      • Software Packages Overview
      • Software Package Steps – Registry (Bulk)
      • Software Package Steps – Registry
      • Software Package Steps – Copy
      • Software Package Steps – MSI
      • Software Package Steps – WinGet
      • Software Package Steps – Execute
      • Software Package Steps – CMD
  • Pre-Deployment
    • Windows PE
    • ADK Versions
    • Boot Profiles
    • Deployment Sources
    • Pre-Deployment Overview
  • Definitions
    • Secrets
    • Software
    • Definitions Overview
    • Device Models
    • Vendors

Reference

5
  • Technical Overview – Windows Autopilot
  • Test formatting page
  • How To: Update a build from 24H2 to 25H2
  • How To: Upgrade Your Windows ADK Version
  • LAN-Based vs USB Deployment Sources
View Categories
  • Home
  • Docs
  • Using OneDeploy
  • Library
  • Software Packages
  • Software Package Steps – Copy

Software Package Steps – Copy

2 min read

Copy step (Software Packages)

The Copy step allows you to copy files or folders from your Deployment Source package to a location on the target machine during a build.

This step is commonly used to place application files, configuration files, or supporting content on the device before or after an install step runs.

When to use a Copy step

Use a Copy step when you need to:

  • Copy application files before running an installer
  • Place configuration files on the device
  • Stage files required by a later install step
  • Rename files during deployment
  • Ensure files exist in a known location before execution

Copy step screen overview

When you add a new step to a Software Package and select Copy, the Copy step properties screen is displayed.

From this screen, you can:

  • Specify the source file or folder to copy
  • Define the destination path on the target machine
  • Configure copy behaviour and overwrite rules
  • Apply optional Checks and Targeting rules

What you can copy

The Copy step supports the following scenarios:

  • A single file
  • Multiple files using wildcard patterns
  • The contents of an entire folder
  • A file copied into a folder
  • A file copied and renamed at the destination

Source Path

The Source Path defines what will be copied from the Deployment Source.

You can enter one of the following.

Copy a specific file

Example:
Y:\Apps\24\1\program.exe

The specified file is copied to the destination.

Copy the contents of a folder

Examples:
Y:\Apps\24\1\FolderName
Y:\Apps\24\1\FolderName\

A trailing backslash is optional.
In both cases, the contents of the folder are copied — not the folder itself.

Copy multiple files using wildcards

Examples:
bin*.dll
logs*.txt
images*.png
*.bmp

Wildcards allow you to copy only the files that match a specific pattern.

Destination Path

The Destination Path defines where files will be copied to on the target device.

Copy to a folder

Examples:
C:\Program Files\MyApp
C:\Temp\

If the destination folder does not exist, it is created automatically.

Copy to a specific file

Example:
C:\ProgramData\MyApp\config.json

This option is only valid when copying a single file.
It allows the file to be renamed as part of the copy operation.

Copy options

The following options control how files are copied.

Copy Subdirectories

When enabled, subfolders are included when copying folders or wildcard matches.

Skip Existing Files

When enabled, files that already exist at the destination are left unchanged.

Overwrite Existing Files

When enabled, existing files are replaced.
This option overrides Skip Existing Files if both are selected.

Examples

Copy an entire folder’s contents

Source:
Y:\Apps\24\1\FolderName

Destination:
C:\Program Files\MyApp\

The contents of ‘FolderName’ are copied, not the folder itself.

Copy only DLL files

Source:
Y:\Apps\24\1\bin\*.dll

Destination:
C:\Program Files\MyApp\

Copy a single file and rename it

Source:
Y:\Apps\24\1\configuration\default.json

Destination:
C:\ProgramData\MyApp\config.json

Using Checks with Copy steps

It is recommended to use the Checks tab with Copy steps to define success criteria for the operation.

Checks can be used to confirm that required files or folders exist after the copy completes, helping to detect issues early and improve deployment reliability.

Common questions

Will the Copy step create folders automatically?

Yes.
If the destination folder does not exist, it will be created automatically.

Can I rename files during a copy?

Yes.
Specify a full destination file path when copying a single file.

What happens if a file already exists?

This depends on the selected copy options:

  • Skip Existing Files leaves the file unchanged
  • Overwrite Existing Files replaces it

Related articles

  • Software Packages overview
  • Steps tab overview
  • Using Checks in Software Package steps
  • Targeting steps in Software Packages
Updated on February 10, 2026

What are your Feelings

Software Package Steps – RegistrySoftware Package Steps – MSI
  • hello@onedeploy.com
  • UK:+44 1462 514624/ US:+1 415 907 7314

Copyright 2026 OneDeploy Ltd Privacy Policy Cookie Policy