copyTo() method on entities