'\"macro stdmacro
.if n .pH g1.tcopy @(#)tcopy	40.6 of 8/4/89
.\" Copyright (c) 1985 Regents of the University of California.
'\" macro stdmacro
.\" Copyright (c) 1988 Sun Microsystems, Inc. - All Rights Reserved.
.\"
.\" All rights reserved.  The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\"
.nr X
.if \nX=0 .ds x} tcopy 1 "BSD Compatibility Package " "\&"
.if \nX=1 .ds x} tcopy 1 "BSD Compatibility Package "
.if \nX=2 .ds x} tcopy 1 "" "\&"
.if \nX=3 .ds x} tcopy "" "" "\&"
.TH \*(x}
.SH NAME
\f4tcopy\f1 \- copy a magnetic tape
.SH SYNOPSIS
\f4/usr/ucb/tcopy\f1
.I source
[
.I destination
]
.SH DESCRIPTION
.P
\f4tcopy\f1
copies the magnetic tape mounted on the tape drive specified by the
.IR source
argument. 
The only assumption made about the contents of a tape is
that there are two tape marks at the end.
.P
When only a source drive is specified,
\f4tcopy\f1
scans the tape, and displays information about the sizes of records
and tape files. 
If a destination is specified,
\f4tcopy\f1
makes a copies the source tape onto the
.I destination
tape, with blocking preserved.
As it copies,
\f4tcopy\f1
produces the same output as it does when only scanning a tape.
.SH "SEE ALSO"
\f4mt\fP(1)
.P
\f4ioctl\f1(2)
in the \f2Programmer's Reference Manual\f1.
.SH NOTES
\f4tcopy\f1 will only run on systems supporting an
associated set of \f4ioctl\f1(2) requests.
