added copy method in ReplicaStorageConfig