def METHOD_NAME(
    self, target_dir: str, file_name: str = None
) -> None:
    """
    Copy xen hypervisor to specified target
    If no file_name is given the target filename is set
    as hypervisor-<xen.name>
    :param str target_dir: target path name
    :param str filename: base filename in target
    """
    xen = self.get_xen_hypervisor()
    if xen:
        if not file_name:
            file_name = 'hypervisor-' + xen.name
        target_file = ''.join(
            [target_dir, '/', file_name]
        )
        Command.run(['cp', xen.filename, target_file])