1. A computer-implemented method for replicating data in a storage system, the method comprising: in response to a request for replicating data chunks of a source storage system having a first average chunk size to a target storage system having a second average chunk size, determining one or more new chunk sizes based on metadata of the data chunks of the source storage system in view of the second average chunk size of the target storage system, wherein the new chunk sizes are determined solely based on values of metadata or features of the data chunks without using content of the data chunks; resizing the data chunks based on the new chunk sizes to generate resized data chunks; determining whether any of chunk sizes of the resized data chunks is outside of a predetermined proximity of the second average chunk size of the target storage system; adjusting at least one of the resized chunk sizes such that each of the chunk sizes of the resized data chunks is within the predetermined proximity of the second average chunk size of the target storage system, if there is at least one resized chunk size outside of the predetermined proximity, wherein boundaries of the resized data chunks are determined based on sizes of data chunks that form the resized data chunks without breaking the data chunks; and transmitting the resized data chunks from the source storage system to the target storage system for replication.