Hi @Simran Kaur,
This may not be perfect answer for you but still you can try this if you want:
stop one of the datanode in cluster and add new data node. rebalance the blocks by using hdfs rebalancer. decommission the stopped data node in cluster. repeat the same process until all data nodes will be added by cluster.