def copy_document(destination, identifier, pointer):
    """Copy file to a new destination."""
    record = Record.get_record(identifier)
    click.echo(json.dumps(
        Document(record, pointer).copy(destination)
    ))
Copy file to a new destination.