This is a fangame. It is not just copying things, it's a unique fangame executed well. The gameplay is plenty different from Undertale/Deltarune. So no, it's not violating copyright laws.
Just to clarify extra information, no. Its a fangame and the developers/creators of both Undertale and Deltarune allows the creation of fangames dedicated to their games and story.