DNA replication occurs in the interphase, before meiosis occurs.
If there are 2 chromosomes in the original cell, DNA replication produces another 2 chromosomes, coming to a new total of 4 chromosomes.
After meiosis, there will be 4 cells with half the amount of chromosomes, which is 1 chromosome per cell.