Added missing function copy.