Add copy paste logic and word counter