is it allowed to copy what´s in samples and integrate it in someone´s own code and what copyrights etc should I mention in case?
You can freely use the code if it works for you.
No restrictions.
is it allowed to copy what´s in samples and integrate it in someone´s own code and what copyrights etc should I mention in case?