prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  run cpp tests in CI 
  ### Version of Awkward Array
  
  2.0.6
  
  ### Description and code to reproduce
  
  @agoose77 and @jpivarski - I think, we need to have at least one node to run the cpp tests.
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `dev/copy-cpp-headers.py`
  Content:
  ```
  1 """Copy the header-only cpp headers into the various package directories that they are required"""
  2 import pathlib
  3 import shutil
  4 
  5 root_path = pathlib.Path(__file__).absolute().parents[1]
  6 source_path = root_path / "header-only"
  7 dest_paths = (
  8     root_path / "awkward-cpp" / "header-only",
  9     root_path / "src" / "awkward" / "_connect" / "header-only",
  10 )
  11 
  12 if __name__ == "__main__":
  13     for path in dest_paths:
  14         if path.exists():
  15             shutil.rmtree(path)
  16         shutil.copytree(source_path, path)
  17
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/dev/copy-cpp-headers.py b/dev/copy-cpp-headers.py
  --- a/dev/copy-cpp-headers.py
  +++ b/dev/copy-cpp-headers.py
  @@ -3,7 +3,7 @@
   import shutil
   
   root_path = pathlib.Path(__file__).absolute().parents[1]
  -source_path = root_path / "header-only"
  +source_path = root_path / "header-only" / "include"
   dest_paths = (
       root_path / "awkward-cpp" / "header-only",
       root_path / "src" / "awkward" / "_connect" / "header-only",
  
verification_info: {"golden_diff": "diff --git a/dev/copy-cpp-headers.py b/dev/copy-cpp-headers.py\n--- a/dev/copy-cpp-headers.py\n+++ b/dev/copy-cpp-headers.py\n@@ -3,7 +3,7 @@\n import shutil\n \n root_path = pathlib.Path(__file__).absolute().parents[1]\n-source_path = root_path / \"header-only\"\n+source_path = root_path / \"header-only\" / \"include\"\n dest_paths = (\n     root_path / \"awkward-cpp\" / \"header-only\",\n     root_path / \"src\" / \"awkward\" / \"_connect\" / \"header-only\",\n", "issue": "run cpp tests in CI \n### Version of Awkward Array\n\n2.0.6\n\n### Description and code to reproduce\n\n@agoose77 and @jpivarski - I think, we need to have at least one node to run the cpp tests.\n", "before_files": [{"content": "\"\"\"Copy the header-only cpp headers into the various package directories that they are required\"\"\"\nimport pathlib\nimport shutil\n\nroot_path = pathlib.Path(__file__).absolute().parents[1]\nsource_path = root_path / \"header-only\"\ndest_paths = (\n    root_path / \"awkward-cpp\" / \"header-only\",\n    root_path / \"src\" / \"awkward\" / \"_connect\" / \"header-only\",\n)\n\nif __name__ == \"__main__\":\n    for path in dest_paths:\n        if path.exists():\n            shutil.rmtree(path)\n        shutil.copytree(source_path, path)\n", "path": "dev/copy-cpp-headers.py"}], "after_files": [{"content": "\"\"\"Copy the header-only cpp headers into the various package directories that they are required\"\"\"\nimport pathlib\nimport shutil\n\nroot_path = pathlib.Path(__file__).absolute().parents[1]\nsource_path = root_path / \"header-only\" / \"include\"\ndest_paths = (\n    root_path / \"awkward-cpp\" / \"header-only\",\n    root_path / \"src\" / \"awkward\" / \"_connect\" / \"header-only\",\n)\n\nif __name__ == \"__main__\":\n    for path in dest_paths:\n        if path.exists():\n            shutil.rmtree(path)\n        shutil.copytree(source_path, path)\n", "path": "dev/copy-cpp-headers.py"}]}