in src/co_op_translator/utils/common/file_utils.py [0:0]
def handle_empty_document(input_file: str | Path, output_file: str | Path) -> None:
"""
Copy the input file to the output location if the document is empty.
Args:
input_file (str | Path): The path to the input file.
output_file (str | Path): The path to the output file.
"""
input_file = Path(input_file)
output_file = Path(output_file)
shutil.copyfile(input_file, output_file)