Split copy function in two, one that accepts a lenght param, and one that doesn't