Video images showed the gunman walking around the mall with a weapon.
Danish police believe a shopping mall shooting that left three people dead and four others seriously wounded was not terror-related.
They said on Monday that the gunman acted alone and appears to have selected his victims at random.
Copenhagen chief police inspector Søren Thomassen said the victims — a 17-year-old boy and a 17-year-old girl, both Danes, and a 47-year-old Russian man — were killed when the gunman opened fire on Sunday afternoon in the Field's shopping mall, one of Scandinavia's biggest.
Four other people — two Danish and two Swedish citizens — were treated for gunshot wounds and were in critical but stable condition, Thomassen said. Several other people received minor injuries as they fled the shopping mall, he added.
Thomassen said police had no indication that anyone helped the gunman, identified as a 22-year-old Dane. He said while the motive is unclear, there is nothing suggesting terrorism, and that the suspect would be arraigned later on Monday on preliminary charges of murder.
"There is nothing in our investigation, or the documents we have reviewed, or the things we have found, or the witnesses' statements we have gotten, that can substantiate that this is an act of terrorism," he said.
He confirmed that the suspect was known to mental health services but provided no further information.
Danish broadcaster TV2 published a grainy photo of the alleged gunman, a man wearing knee-length shorts, a vest or sleeveless shirt, and holding what appeared to be a rifle in his right hand.
"He seemed very violent and angry," eyewitness Mahdi Al-Wazni told TV2. "He spoke to me and said it (the rifle) isn't real as I was filming him. He seemed very proud of what he was doing."
Thomassen said that beside the rifle the suspect had when detained, "we also know that he has had access to a gun and that he carried a knife."
Images from the scene showed people running out of the mall in panic. After the shooting, a big contingent of heavily armed police officers patrolled the area, with several fire department vehicles also parked outside the mall.
"It is pure terror. This is awful," said Hans Christian Stoltz, a 53-year-old IT consultant, who was bringing his daughters to see Harry Styles perform at concert scheduled for Sunday night near the mall.
"You might wonder how a person can do this to another human being, but it's beyond … beyond anything that's possible."
The concert was cancelled due to the shooting.
On Snapchat, Styles wrote: "My team and I pray for everyone involved in the Copenhagen shopping mall shooting. I am shocked. Love H."
It was the worst gun attack in Denmark since February 2015, when a 22-year-old man was killed in a shootout with police after going on a shooting spree in the capital that left two people dead and five police officers wounded. That attack was believed to have been motivated by Islamic extremism.
Danish Prime Minister Mette Frederiksen called Sunday's shooting a "cruel attack."
"It is incomprehensible. Heartbreaking. Pointless," she said. "Our beautiful and usually so safe capital was changed in a split second."
The Field's shopping centre is on the outskirts of Copenhagen just across from a subway station for a line that connects the city centre with the international airport. A major highway also runs adjacent to the mall.
The shooting came a week after a mass shooting in neighboring Norway, where police said a Norwegian man of Iranian origin opened fire during an LGBTQ festival, killing two and wounding more than 20.