<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def copy_from(self, src, dest):
 """ copy a file or a directory from container or image to host system. :param src: str, path to a file or a directory within container or image :param dest: str, path to a file or a directory on host system :return: None """

        logger.debug("copying %s from host to container at %s", src, dest)
        cmd = ["machinectl", "--no-pager", "copy-from", self.name, src, dest]
        run_cmd(cmd)