copy demo to index