Literally, tilegnelse means making it your own.
The full meaning is, that you are good at learning Danish, and that you remember and can use, what you learned.
The word is only used formally in contexts like this.
It can also be used informally in other contexts, like: "He stole my wallet"; "Han tilegnede sig min pengepung." = "Han stjal min pengepung"