async def METHOD_NAME(custom_model_id):
    # [START begin_copy_document_model_to_async]
    from azure.core.credentials import AzureKeyCredential
    from azure.ai.formrecognizer.aio import DocumentModelAdministrationClient
    source_endpoint = os.environ["AZURE_FORM_RECOGNIZER_SOURCE_ENDPOINT"]
    source_key = os.environ["AZURE_FORM_RECOGNIZER_SOURCE_KEY"]
    target_endpoint = os.environ["AZURE_FORM_RECOGNIZER_TARGET_ENDPOINT"]
    target_key = os.environ["AZURE_FORM_RECOGNIZER_TARGET_KEY"]
    source_model_id = os.getenv("AZURE_SOURCE_MODEL_ID", custom_model_id)
    target_client = DocumentModelAdministrationClient(
        endpoint=target_endpoint, credential=AzureKeyCredential(target_key)
    )
    async with target_client:
        target = await target_client.get_copy_authorization(
            description="model copied from other resource"
        )
    source_client = DocumentModelAdministrationClient(
        endpoint=source_endpoint, credential=AzureKeyCredential(source_key)
    )
    async with source_client:
        poller = await source_client.begin_copy_document_model_to(
            model_id=source_model_id,
            target=target,  # output from target client's call to get_copy_authorization()
        )
        copied_over_model = await poller.result()
    print(f"Model ID: {copied_over_model.model_id}")
    print(f"Description: {copied_over_model.description}")
    print(f"Model created on: {copied_over_model.created_on}")
    print(f"Model expires on: {copied_over_model.expires_on}")
    print("Doc types the model can recognize:")
    for name, doc_type in copied_over_model.doc_types.items():
        print(f"Doc Type: '{name}' which has the following fields:")
        for field_name, field in doc_type.field_schema.items():
            print(
                f"Field: '{field_name}' has type '{field['type']}' and confidence score "
                f"{doc_type.field_confidence[field_name]}"
            )
    # [END begin_copy_document_model_to_async]