The COPY command is used to duplicate files from one location to another. You specify the source and destination files or directories.