copy fix

Signed-off-by: Łukasz Mazurek <kontakt@devoth.pl>