'\" t
.\"     Title: CP
.\"    Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL-NS Stylesheets v1.76.1 <http://docbook.sf.net/>
.\"      Date: 04/13/2022
.\"    Manual: BRL-CAD MGED Commands
.\"    Source: BRL-CAD
.\"  Language: English
.\"
.TH "CP" "nged" "04/13/2022" "BRL\-CAD" "BRL\-CAD MGED Commands"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
cp \- 
.SH "SYNOPSIS"
.HP \w'\fBcp\fR\ 'u
\fBcp\fR {\fIfrom_object\ to_object\fR}
.SH "DESCRIPTION"
.PP
Makes a duplicate of an object (shape or combination)\&. If
\fIfrom_object\fR
is a shape, then it is simply copied to a new shape named\fIto_object\fR\&. If
\fIfrom_object\fR
is a combination, then a new combination is created that contains exactly the same members, transformation matrices, etc\&., and it is named
\fIto_object\fR\&.
.SH "EXAMPLES"
.PP
The example shows the use of the command
\fBcp\fR
to duplicate a combination\&.
.PP
\fBExample\ \&1.\ \&Duplicate a combination.\fR
.PP

mged>
\fBcp comb1 comb2\fR
.PP
Duplicate combination comb1 and call it comb2\&.
.SH "AUTHOR"
.PP
BRL\-CAD Team
.SH "BUG REPORTS"
.PP
Reports of bugs or problems should be submitted via electronic mail to
devs@brlcad\&.org
