A mechanism for prion replication