![]() |
Copies data from src
to dst
.
Aliases:
tf.io.gfile.copy(
src,
dst,
overwrite=False
)
Args:
src
: string, name of the file whose contents need to be copieddst
: string, name of the file to which to copy tooverwrite
: boolean, if false it's an error fordst
to be occupied by an existing file.
Raises:
errors.OpError
: If the operation fails.