How do you say in German something that is easy to do. I have found "ein Klacks" in my dictionary, but I have a great doubt about the meaning of the word and how to use it.
"Klacks" is indeed a very colloquial term, referring to the ease of completing a task. However, "Klacks" is very rarely used on its own in contrast to "piece of cake".
Answering to the question:
You wouldn't say just "Klacks" but rather:
in a sentence:
or you could also say
There are some more expressions used in this context, but those are probably the most common ones.
Here's a list: http://www.dict.cc/?s=piece+of+cake
You can say "Das war ein Klacks" if something was easy. You are mostly referring to a task you had to do or will have to do in the future.
Source: I am German.
Piece of cake! Refers to the easiness of something.
So it seems to always refer to the past. For you don't know if something will be a piece of cake if you have never done it before, unless you are just trying to cheer somebody up.
I'd go with anyone else's suggestions:
If you want to say you are optimistic about finishing something quickly you can also say:
I'd like to add that at least where I live (Lower Saxony), "Klacks" is a little outdated. People will understand you, but it's not what a (younger) native speaker would say. In fact, I'm almost 30 years old and I never heard anyone say "Klacks". Here, more common ways to say it would be "kein Problem", "kein Thema" or "kein Ding" (the latter two are more informal and especially used in spoken language). But again, it might be a regional/dialect thing.