Hi,
I need to copy file in my workarea to another directory in the same workarea.
CSFile files[] = getFiles(task);
for(int i = 0; i < files.length; i++)
{
LOG.debug((new StringBuilder()).append(i).append("File selected is").append(files).toString());
CSAreaRelativePath targetWorkareaRelativePath =new CSAreaRelativePath("/config/ScheduleDeployment");
files.copy(targetWorkareaRelativePath,true);
}
I am not able to assign string vpath "/config/ScheduleDeployment" in the object of type CSAreaRelativePath. The above code is one among the various ways I have tried to implement copy method.
It looks to me pretty straight forward but I am not good at grasping information from cssdk api doc

Therefore I require your suggestions.
Many Thanks,
Retesh