React setState uses push, splice and other arrays to manipulate new arrays. Why does it also affect the original array?

problem description

the title is not described very clearly. Rearrange it here.
although you know that push , splice these operations will affect the original array. But will it still affect each other after state state storage?
suppose there is an array array , and I have operated newArray: this.state.array
through setState , and then I change newArray will also affect the value of array. Is there any way to solve it?

the environmental background of the problems and what methods you have tried

related codes

componentDidMount() {
    let array = [1, 2, 3];
    this.setState({
        newArray: this.state.array
    })
}

handleChange() {
    let { newArray } = this.state; 
    newArray.push(4);
    
    console.log(array);
}

what result do you expect? What is the error message actually seen?

the above result will output [1, 2, 3, 4] . Is it really caused by push and splice changing the original array? Is there any way to solve it? Thank you

Mar.03,2022

handleChange() {
    let array = this.state.array;
    let newArray = [...array];
    newArray.push(4);
    console.log(array, newArray);
}
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3bf97-2ba54.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3bf97-2ba54.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?