Java Jak skopiować ciąg

Strings are immutable.
Which means you can easily copy a string using this method:

String string1 = "Original String";
String string2 = string1;
string1 = "New String";

and string2 will still be "Original String".
Bredo