code: def test_cp(tmp_fs_path):
      src = osp.join(tmp_fs_path, "src")
      for i in range(2):
          with fsspec.open(osp.join(src, str(i)), "w") as f:
              f.write("here")
      assert fs.exists(src)
  
      dst = osp.join(tmp_fs_path, "dst")
      assert not fs.exists(dst)
  
      # Can copy a file to new name:
      fs.cp(osp.join(src, "1"), dst)
      assert fs.isfile(dst)
      fs.rm(dst)
  
      # Can copy a single file to directory:
      fs.makedirs(dst)
      fs.cp(osp.join(src, "1"), dst)
      assert len(fs.ls(dst)) == 1
  
      # Can copy multiple files to directory:
      fs.cp(src, dst)
      assert len(fs.ls(dst)) == 2
      for i in range(2):
          fs.exists(osp.join(dst, str(i)))
  
file_path: pytorch_geometric/test/io/test_fs.py
imports: import zipfile
  from os import path
  import fsspec
  import pytest
  import torch
  import torch_geometric.typing
  from torch_geometric.data import extract_zip
  from torch_geometric.io import fs
  from torch_geometric.testing import noWindows
label_desc: Use image node_id 7 for calling a global function with example usage: test_cp(tmp_fs_path) without return types