added copy input char example