The act of tracing art itself isn’t illegal, as it helps you practice your artistic skills. However, the final result isn’t considered art. What’s against the law is reselling traced art because it’s a copy of original artwork. It’s a copyright violation.