how to make a copy of a string in javascript code example Example: copy string js newString = `${oldString}`;