code: public BreakpointInfo copyWithReplaceIdAndUrl(int replaceId, String newUrl) {
          final BreakpointInfo info = new BreakpointInfo(replaceId, newUrl, parentFile,
                  filenameHolder.get(), taskOnlyProvidedParentPath);
          info.chunked = this.chunked;
          for (BlockInfo blockInfo : blockInfoList) {
              info.blockInfoList.add(blockInfo.copy());
          }
          return info;
      }
docs: You can use this method to replace url for using breakpoint info from another task.