title: destination file get corrupted in java if there is character like \n \u0039
body: <p>I am copying some keys from one property file to another property file using java so if there is \n or \u0039 type data in source file it get distorted result in destination file how can i copy selected keys have \n value from source to destination</p>