anchor.diff:      ?assertEqual({ok, Acl}, get_file_acl(NewFileName2)),
       %%------------------------------
   
  +    %%---------- dir cp ------------
  +    % create dir to copy (with some subdirs and subfiles)
       DirName2 = "copy_dir/",
       create_dir(DirName2),
       ?assert(object_exists(DirName2)),
  
positive.code:     create_file(filename:join([DirName2, "dir1", "2"])),
      create_file(filename:join(DirName2, "3")),
  
      %%---------- dir cp ------------
      ?assert(object_exists(DirName2)),
      ?assert(object_exists(filename:join(DirName2, "dir1"))),
      ?assert(object_exists(filename:join(DirName2, "dir2"))),
      ?assert(object_exists(filename:join([DirName2, "dir1", "1"]))),
      ?assert(object_exists(filename:join([DirName2, "dir1", "2"]))),
      ?assert(object_exists(filename:join(DirName2, "3"))),
  
      RequestHeaders5 = [{"X-CDMI-Specification-Version", "1.0.2"}, {"Content-Type", "application/cdmi-container"}],
      RequestBody5 = rest_utils:encode_to_json([{<<"copy">>, list_to_binary(DirName2)}]),
      {Code5, _Headers5, _Response5} = do_request(NewDirName2, put, RequestHeaders5, RequestBody5),
      ?assertEqual("201", Code5),
  
      ?assert(object_exists(DirName2)),
      ?assert(object_exists(filename:join(DirName2, "dir1"))),
      ?assert(object_exists(filename:join(DirName2, "dir2"))),
  
negative.code:     add_xattrs(FileName2, Xattrs),
      write_to_file(FileName2, FileData2),
  
      % assert source file is created and destination does not exist
      NewFileName2 = "copy_test_file2.txt",
      ?assert(object_exists(FileName2)),
      ?assert(not object_exists(NewFileName2)),
      ?assertEqual(FileData2, get_file_content(FileName2)),
      ?assertEqual({ok, Acl}, get_file_acl(FileName2)),
  
      % copy file using cdmi
      RequestHeaders4 = [{"X-CDMI-Specification-Version", "1.0.2"}, {"Content-Type", "application/cdmi-object"}],
      RequestBody4 = rest_utils:encode_to_json([{<<"copy">>, list_to_binary(FileName2)}]),
      {Code4, _Headers4, _Response4} = do_request(NewFileName2, put, RequestHeaders4, RequestBody4),
      ?assertEqual("201", Code4),
  
      % assert new file is created
      ?assert(object_exists(FileName2)),
      ?assert(object_exists(NewFileName2)),
      ?assertEqual(FileData2, get_file_content(NewFileName2)),
  