def METHOD_NAME(full_module_name):
    """
    This function contains simple code to copy a submodule to a location on
    your hard drive, as specified by you. The purpose of this code is to provide
    users with a simple way to access a *copy* of code that usually sits deep in
    the Econ-ARK package structure, for purposes of tinkering and experimenting
    directly. This is meant to be a simple way to explore HARK code. To interact
    with the codebase under active development, please refer to the documentation
    under github.com/econ-ark/HARK/
    To execute, do the following on the Python command line:
        from HARK.core import copy_module_to_local
        copy_module_to_local("FULL-HARK-MODULE-NAME-HERE")
    For example, if you want SolvingMicroDSOPs you would enter
        from HARK.core import copy_module_to_local
        copy_module_to_local("HARK.SolvingMicroDSOPs")
    """
    # Find a default directory -- user home directory:
    home_directory_RAW = os.path.expanduser("~")
    # Thanks to https://stackoverflow.com/a/4028943
    # Find the directory of the HARK.core module:
    # my_directory_full_path = os.path.dirname(os.path.realpath(__file__))
    hark_core_directory_full_path = os.path.dirname(os.path.realpath(__file__))
    # From https://stackoverflow.com/a/5137509
    # Important note from that answer:
    # (Note that the incantation above won't work if you've already used os.chdir()
    # to change your current working directory,
    # since the value of the __file__ constant is relative to the current working directory and is not changed by an
    #  os.chdir() call.)
    #
    # NOTE: for this specific file that I am testing, the path should be:
    # '/home/npalmer/anaconda3/envs/py3fresh/lib/python3.6/site-packages/HARK/SolvingMicroDSOPs/---example-file---
    # Split out the name of the module. Break if proper format is not followed:
    all_module_names_list = full_module_name.split(
        "."
    )  # Assume put in at correct format
    if all_module_names_list[0] != "HARK":
        print(
            "\nWarning: the module name does not start with 'HARK'. Instead it is: '"
            + all_module_names_list[0]
            + "' --please format the full namespace of the module you want. \n"
            "For example, 'HARK.SolvingMicroDSOPs'"
        )
        print("\nGoodbye!")
        return
    # Construct the pathname to the module to copy:
    my_directory_full_path = hark_core_directory_full_path
    for a_directory_name in all_module_names_list[1:]:
        my_directory_full_path = os.path.join(my_directory_full_path, a_directory_name)
    head_path, my_module = os.path.split(my_directory_full_path)
    home_directory_with_module = os.path.join(home_directory_RAW, my_module)
    print("\n\n\nmy_directory_full_path:", my_directory_full_path, "\n\n\n")
    # Interact with the user:
    #     - Ask the user for the target place to copy the directory
    #         - Offer use "q/y/other" option
    #     - Check if there is something there already
    #     - If so, ask if should replace
    #     - If not, just copy there
    #     - Quit
    target_path = input(
        """You have invoked the 'replicate' process for the current module:\n    """
        + my_module
        + """\nThe default copy location is your home directory:\n    """
        + home_directory_with_module
        + """\nPlease enter one of the three options in single quotes below, excluding the quotes:
        'q' or return/enter to quit the process
        'y' to accept the default home directory: """
        + home_directory_with_module
        + """
        'n' to specify your own pathname\n\n"""
    )
    if target_path == "n" or target_path == "N":
        target_path = input(
            """Please enter the full pathname to your target directory location: """
        )
        # Clean up:
        target_path = os.path.expanduser(target_path)
        target_path = os.path.expandvars(target_path)
        target_path = os.path.normpath(target_path)
        # Check to see if they included the module name; if not add it here:
        temp_head, temp_tail = os.path.split(target_path)
        if temp_tail != my_module:
            target_path = os.path.join(target_path, my_module)
    elif target_path == "y" or target_path == "Y":
        # Just using the default path:
        target_path = home_directory_with_module
    else:
        # Assume "quit"
        return
    if target_path != "q" and target_path != "Q" or target_path == "":
        # Run the copy command:
        copy_module(target_path, my_directory_full_path, my_module)
    return
    if target_path != "q" and target_path != "Q" or target_path == "":
        # Run the copy command:
        copy_module(target_path, my_directory_full_path, my_module)
    return