Today, we know how to create microchip circuits and experimental nanometer-scale objects by "drawing" them on a surface with a beam of atoms. We can also suspend single atoms or small numbers of atoms within a trap made of electromagnetic fields, and experiment on them. That's as close as the replicator is to reality. Making solid matter from a pattern as the replicator appears to do, is pretty far beyond present physics.