added copyForReplica method to RDT and implementation to all classes that needed it, it is however not yet tested